package edu.java.homework.hw09.exercises.nikolay.food.ingredient.type;


public enum FruitType implements IngredientType {

	// --- Constants -----------------------------------------------------------

	LEMON(10);

	// --- Instance Variables --------------------------------------------------

	private int price = 0;

	// --- Constructors --------------------------------------------------------

	private FruitType(int price) {
		this.price = price;
	}

	// --- Methods -------------------------------------------------------------
	public int getPrice() {
		return price;
	}

	@Override
	public String toString() {
		return name().toLowerCase();
	}
}
